//
//  DFUser.h
//  doubanFun
//
//  Created by bing on 16/3/22.
//  Copyright © 2016年 bing. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DFUser : NSObject <NSCoding>
/*!
 *  @brief token
 */
@property (nonatomic, copy) NSString *token;
/*!
 *  @brief email
 */
@property (nonatomic, copy) NSString *email;
/*!
 *  @brief 用户ID
 */
@property (nonatomic, copy) NSString *userID;
/*!
 *  @brief 用户明
 */
@property (nonatomic, copy) NSString *userName;
/*!
 *  @brief token 到期事件
 */
@property (nonatomic, strong) NSNumber *expire;

- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
+ (instancetype)initWithDictionary:(NSDictionary *)dictionary;
@end
